Trò chơi đua xe động vật trong UNITY Engine
114.784 lượt xem;
- InterpolationSineOut.cs
- Interpolations /
- Bapk /
- Scripts /
- Assets /
- project /
1 using UnityEngine;
2 using System.Collections;
3
4 public class InterpolationSineOut : InterpolationProcess {
5 public override float apply(float a)
6 {
7 return Mathf.Sin(a * Mathf.PI / 2);
8 }
9 }
2 using System.Collections;
3
4 public class InterpolationSineOut : InterpolationProcess {
5 public override float apply(float a)
6 {
7 return Mathf.Sin(a * Mathf.PI / 2);
8 }
9 }